package com.sanyang.pda.ui.movement;

import com.sanyang.pda.adapter.MovementLogAdapter;
import com.sanyang.pda.contract.MovementLogContract;
import com.sanyang.pda.presenter.MovementLogPresenter;
import com.wangshen.base.ui.mvp.base.refresh.BaseRecyclerRefreshFragment;
import com.wangshen.projectbase.R;

import java.util.ArrayList;

public class MovementLogFragment extends BaseRecyclerRefreshFragment<MovementLogContract.View, MovementLogPresenter> implements MovementLogContract.View {
    @Override
    public MovementLogAdapter createRecyclerAdapter() {
        return new MovementLogAdapter(R.layout.item_movement_log,new ArrayList<>());
    }

    @Override
    public MovementLogPresenter getPresenter() {
        return new MovementLogPresenter();
    }

    @Override
    public void initView() {
        getRefreshLayout().setEnableLoadMore(false);
        getRefreshLayout().autoRefresh();
    }

    @Override
    public void initLinsenterner() {

    }

    @Override
    public void getData() {

    }
}
